package isp.apps.example.shoppingcart.persistence.factory;

import isp.apps.example.shoppingcart.persistence.ItemDirectory;
import isp.apps.example.shoppingcart.persistence.ItemRepository;
import isp.apps.example.shoppingcart.persistence.hibernate.HibernateItemDirectory;
import isp.apps.example.shoppingcart.persistence.hibernate.HibernateItemRepository;

public class ItemPersistenceFactory
{
  public ItemPersistenceFactory()
  {
  }

  public static ItemDirectory getItemDirectory()
  {
    return new HibernateItemDirectory();
  }
  
  public static ItemRepository getItemRepository()
  {
   return new HibernateItemRepository();
  }
}